ARD2  1.00 for Rev B. Hardware
Airbag Reference Demonstrator using MPC5604P
freemaster_protocol.h File Reference

FreeMASTER protocol header file. More...

Go to the source code of this file.

Defines

#define FMSTR_CMD_READMEM   0x01U
#define FMSTR_CMD_WRITEMEM   0x02U
#define FMSTR_CMD_WRITEMEMMASK   0x03U
#define FMSTR_CMD_READMEM_EX   0x04U
#define FMSTR_CMD_WRITEMEM_EX   0x05U
#define FMSTR_CMD_WRITEMEMMASK_EX   0x06U
#define FMSTR_CMD_SETUPSCOPE   0x08U
#define FMSTR_CMD_SETUPREC   0x09U
#define FMSTR_CMD_SETUPSCOPE_EX   0x0aU
#define FMSTR_CMD_SETUPREC_EX   0x0bU
#define FMSTR_CMD_SENDAPPCMD   0x10U
#define FMSTR_CMD_GETTSAINFO   0x11U
#define FMSTR_CMD_GETTSAINFO_EX   0x12U
#define FMSTR_CMD_SFIOFRAME_1   0x13U
#define FMSTR_CMD_SFIOFRAME_0   0x14U
#define FMSTR_CMD_PIPE   0x15U
#define FMSTR_CMD_GETINFO   0xc0U
#define FMSTR_CMD_STARTREC   0xc1U
#define FMSTR_CMD_STOPREC   0xc2U
#define FMSTR_CMD_GETRECSTS   0xc3U
#define FMSTR_CMD_GETRECBUFF   0xc4U
#define FMSTR_CMD_READSCOPE   0xc5U
#define FMSTR_CMD_GETAPPCMDSTS   0xc6U
#define FMSTR_CMD_GETINFOBRIEF   0xc8U
#define FMSTR_CMD_GETRECBUFF_EX   0xc9U
#define FMSTR_CMD_SFIOGETRESP_0   0xcaU
#define FMSTR_CMD_SFIOGETRESP_1   0xcbU
#define FMSTR_CMD_READVAR8   0xD0U
#define FMSTR_CMD_READVAR16   0xD1U
#define FMSTR_CMD_READVAR32   0xD2U
#define FMSTR_CMD_GETAPPCMDDATA   0xD3U
#define FMSTR_CMD_GETSTRLEN   0xD4U
#define FMSTR_CMD_READVAR8_EX   0xe0U
#define FMSTR_CMD_READVAR16_EX   0xe1U
#define FMSTR_CMD_READVAR32_EX   0xe2U
#define FMSTR_CMD_WRITEVAR8   0xe3U
#define FMSTR_CMD_WRITEVAR16   0xe4U
#define FMSTR_CMD_WRITEVAR8MASK   0xe5U
#define FMSTR_CMD_GETSTRLEN_EX   0xe6U
#define FMSTR_CMD_WRITEVAR32   0xf0U
#define FMSTR_CMD_WRITEVAR16MASK   0xf1U
#define FMSTR_STSF_ERROR   0x80U
#define FMSTR_STSF_VARLEN   0x40U
#define FMSTR_STSF_EVENT   0x20U
#define FMSTR_STS_OK   0x00U
#define FMSTR_STS_RECRUN   0x01U
#define FMSTR_STS_RECDONE   0x02U
#define FMSTR_STC_INVCMD   0x81U
#define FMSTR_STC_CMDCSERR   0x82U
#define FMSTR_STC_CMDTOOLONG   0x83U
#define FMSTR_STC_RSPBUFFOVF   0x84U
#define FMSTR_STC_INVBUFF   0x85U
#define FMSTR_STC_INVSIZE   0x86U
#define FMSTR_STC_SERVBUSY   0x87U
#define FMSTR_STC_NOTINIT   0x88U
#define FMSTR_STC_EACCESS   0x89U
#define FMSTR_STC_SFIOERR   0x8AU
#define FMSTR_STC_SFIOUNMATCH   0x8BU
#define FMSTR_STC_PIPEERR   0x8CU
#define FMSTR_STC_FASTRECERR   0x8DU
#define FMSTR_STC_CANTGLERR   0x8EU
#define FMSTR_STC_CANMSGERR   0x8FU
#define FMSTR_STC_FLOATDISABLED   0x90U
#define FMSTR_SOB   0x2bU
#define FMSTR_FASTCMD   0xc0U
#define FMSTR_FASTCMD_DATALEN_MASK   0x30U
#define FMSTR_FASTCMD_DATALEN_SHIFT   3
#define FMSTR_DESCR_SIZE   25U
#define FMSTR_CFGFLAG_BIGENDIAN   0x01U
#define FMSTR_TSA_INFO_VERSION_MASK   0x000fU
#define FMSTR_TSA_INFO_32BIT   0x0100U
#define FMSTR_TSA_INFO_HV2BA   0x0200U
#define FMSTR_CANCTL_TGL   0x80
#define FMSTR_CANCTL_M2S   0x40
#define FMSTR_CANCTL_FST   0x20
#define FMSTR_CANCTL_LST   0x10
#define FMSTR_CANCTL_SPC   0x08
#define FMSTR_CANCTL_LEN_MASK   0x07
#define FMSTR_CANSPC_PING   0xc0
#define FMSTR_PDBDM_BUFFBORDER_CODE1   0x07e0
#define FMSTR_PDBDM_BUFFBORDER_CODE2   0xf81f
#define FMSTR_PDBDM_NOT_INIT   0x00
#define FMSTR_PDBDM_IDLE   0x01
#define FMSTR_PDBDM_RECEIVED_FRAME   0x02
#define FMSTR_PDBDM_DECODING_FRAME   0x04
#define FMSTR_PDBDM_FRAME_TO_SEND   0x08

Detailed Description

FreeMASTER protocol header file.

Version:
1.0.18.0
Date:
Aug-10-2011